/**
 * Created by luyon on 17/8/23.
 */

"use strict";

//=========================
// 引入子组建和子组建reducer
//=========================

export const CHANGE_COMMENT = "CHANGE_COMMENT";

const initialState = {
    totalCount: "0",
    list: []
}

export const FilmCommentReducers = (state = initialState, action) => {
    switch (action.type) {
        case CHANGE_COMMENT :
            return state = action.data;
        default :
            return state;
    }
};

export const mapStateToProps = state => {
    return {
        filmCommentList: state.app.filmDetail.filmComment,
        filmCommentListTwo: state.app.filmDetail.filmCommentTwo,
        re:state.app.filmDetail.replyList

    }
};

export const mapDispatchToProps = dispatch => {
    return {}
};

